home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / LINUX040.LZH / BOOTARGS.TXT < prev    next >
Encoding:
Text File  |  1996-10-02  |  28.9 KB  |  822 lines

  1.  
  2.  
  3.                   Command Line Options for Linux/68k
  4.                   ==================================
  5.  
  6. Date: Sep 14, 1996
  7. Linux/68k version: 2.0.20
  8. Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek)
  9. Update: jds@kom.auc.dk (Jes Sorensen)
  10.  
  11. 0) Introduction
  12. ===============
  13.  
  14.   Often I've been asked which command line options the Linux/68k
  15. kernel understands, or how the exact syntax for the ... option is, or
  16. ... about the option ... . I hope, this document supplies all the
  17. answers...
  18.  
  19.   Note that some options might be outdated, their descriptions being
  20. incomplete or missing. Please update the information and send in the
  21. patches.
  22.  
  23.  
  24. 1) Overview of the Kernel's Option Processing
  25. =============================================
  26.  
  27. The kernel knows three kinds of options on its command line:
  28.  
  29.   1) kernel options
  30.   2) environment settings
  31.   3) arguments for init
  32.  
  33. To which of these classes an argument belongs is determined as
  34. follows: If the option is known to the kernel itself, i.e. if the name
  35. (the part before the '=') or, in some cases, the whole argument string
  36. is known to the kernel, it belongs to class 1. Otherwise, if the
  37. argument contains an '=', it is of class 2, and the definition is put
  38. into init's environment. All other arguments are passed to init as
  39. command line options.
  40.  
  41.   This document describes the valid kernel options for Linux/68k in
  42. the version mentioned at the start of this file. Later revisions may
  43. add new such options, and some may be missing in older versions.
  44.  
  45.   In general, the value (the part after the '=') of an option is a
  46. list of values separated by commas. The interpretation of these values
  47. is up to the driver that "owns" the option. This association of
  48. options with drivers is also the reason that some are further
  49. subdivided.
  50.  
  51.  
  52. 2) General Kernel Options
  53. =========================
  54.  
  55. 2.1) root=
  56. ----------
  57.  
  58. Syntax: root=/dev/<device>
  59.     or: root=<hex_number>
  60.  
  61. This tells the kernel which device it should mount as the root
  62. filesystem. The device must be a block device with a valid filesystem
  63. on it.
  64.  
  65.   The first syntax gives the device by name. These names are converted
  66. into a major/minor number internally in the kernel in an unusual way.
  67. Normally, this "conversion" is done by the device files in /dev, but
  68. this isn't possible here, because the root filesystem (with /dev)
  69. isn't mounted yet... So the kernel parses the name itself, with some
  70. hardcoded name to number mappings. The name must always be a
  71. combination of two or three letters, followed by a decimal number.
  72. Valid names are:
  73.  
  74.   /dev/ram: -> 0x0100 (initial ramdisk)
  75.   /dev/hda: -> 0x0300 (first IDE disk)
  76.   /dev/hdb: -> 0x0340 (second IDE disk)
  77.   /dev/sda: -> 0x0800 (first SCSI disk)
  78.   /dev/sdb: -> 0x0810 (second SCSI disk)
  79.   /dev/sdc: -> 0x0820 (third SCSI disk)
  80.   /dev/sdd: -> 0x0830 (forth SCSI disk)
  81.   /dev/sde: -> 0x0840 (fifth SCSI disk)
  82.   /dev/fd : -> 0x0200 (floppy disk)
  83.   /dev/xda: -> 0x0c00 (first XT disk, unused in Linux/68k)
  84.   /dev/xdb: -> 0x0c40 (second XT disk, unused in Linux/68k)
  85.   /dev/ada: -> 0x1c00 (first ACSI device)
  86.   /dev/adb: -> 0x1c10 (second ACSI device)
  87.   /dev/adc: -> 0x1c20 (third ACSI device)
  88.   /dev/add: -> 0x1c30 (forth ACSI device)
  89.  
  90. The last for names are available only if the kernel has been compiled
  91. with Atari and ACSI support.
  92.  
  93.   The name must be followed by a decimal number, that stands for the
  94. partition number of times. Internally, the value of the number is just
  95. added to the device number mentioned in the table above. The
  96. exceptions are /dev/ram and /dev/fd, where /dev/ram refers to an
  97. initial ramdisk loaded by your bootstrap program (please consult the
  98. instructions for your bootstrap program to find out how to load an
  99. initial ramdisk). As of kernel version 2.0.18 you must specify
  100. /dev/ram as the root device if you want to boot from an initial
  101. ramdisk. For the floppy devices, /dev/fd, the number stands for the
  102. floppy drive number (there are no partitions on floppy disks). I.e.,
  103. /dev/fd0 stands for the first drive, /dev/fd1 for the second, and so
  104. on. Since the number is just added, you can also force the disk format
  105. by adding a number greater than 3. If you look into your /dev
  106. directory, use can see the /dev/fd0D720 has major 2 and minor 16. You
  107. can specify this device for the root FS by writing "root=/dev/fd16" on
  108. the kernel command line.
  109.  
  110. [Strange and maybe uninteresting stuff ON]
  111.  
  112.   This unusual translation of device names has some strange
  113. consequences: If, for example, you have a symbolic link from /dev/fd
  114. to /dev/fd0D720 as an abbreviation for floppy driver #0 in DD format,
  115. you cannot use this name for specifying the root device, because the
  116. kernel cannot see this symlink before mounting the root FS and it
  117. isn't in the table above. If you would use it, the root device weren't
  118. set at all, without error message. Another example: You cannot use a
  119. partition on e.g. the sixth SCSI disk as the root filesystem, if you
  120. want to specify it by name. This is, because only the devices up to
  121. /dev/sde are in the table above, but not /dev/sdf. Although, you can
  122. use the sixth SCSI disk for the root FS, but you have to specify the
  123. device by number... (see below). Or, even more strange, use can use the
  124. fact that there is no range checking of the partition number, and your
  125. knowledge that each disk uses 16 minors, and write "root=/dev/sde17"
  126. (for /dev/sdf1).
  127.  
  128. [Strange and maybe uninteresting stuff OFF]
  129.  
  130.   If the device containing your root partition isn't in the table
  131. above, you can also specify it by major and minor numbers. These are
  132. written in hex, with no prefix and no separator between. E.g., if you
  133. have a CD with contents appropriate as a root filesystem in the first
  134. SCSI CD-ROM drive, you boot from it by "root=0b00". Here, hex "0b" =
  135. decimal 11 is the major of SCSI CD-ROMs, and the minor 0 stands for
  136. the first of these. You can find out all valid major numbers by
  137. looking into include/linux/major.h.
  138.  
  139.  
  140. 2.2) ro, rw
  141. -----------
  142.  
  143. Syntax: ro
  144.     or: rw
  145.  
  146. These two options tell the kernel whether it should mount the root
  147. filesystem read-only or read-write. The default is read-only, except
  148. for ramdisks which are read-write.
  149.  
  150.  
  151. 2.3) debug
  152. ----------
  153.  
  154. Syntax: debug
  155.  
  156. This raises the kernel log level to 10 (the default is 7). This is the
  157. same level as set by the "dmsg" command, just that the maximum level
  158. selectable by dmesg is 8.
  159.  
  160.  
  161. 2.4) debug=
  162. -----------
  163.  
  164. Syntax: debug=<device>
  165.  
  166. This option causes certain kernel messages be printed to the selected
  167. debugging device. This can aid debugging the kernel, since the
  168. messages can be captured and analyzed on some other machine. Which
  169. devices are possible depends on the machine type. There are no checks
  170. for the validity of the device name. If the device isn't implemented,
  171. nothing happens.
  172.  
  173.   Messages logged this way are in general stack dumps after kernel
  174. memory faults or bad kernel traps, and kernel panics. To be exact: all
  175. messages of level 0 (panic messages) and all messages printed while
  176. the log level is 8 or more (their level doesn't matter). Before stack
  177. dumps, the kernel sets the log level to 10 automatically. A level of
  178. at least 8 can also be set by the "debug" command line option (see
  179. 2.3) and at run time with "dmesg -n 8".
  180.  
  181. Devices possible for Amiga:
  182.  
  183.  - "ser": built-in serial port; parameters: 9600bps, 8N1
  184.  - "mem": Save the messages to a reserved area in chip mem. After
  185.           rebooting, they can be read under AmigaOS with the tool
  186.           'dmesg'.
  187.  
  188. Devices possible for Atari:
  189.  
  190.  - "ser1": ST-MFP serial port ("Modem1"); parameters: 9600bps, 8N1
  191.  - "ser2": SCC channel B serial port ("Modem2"); parameters: 9600bps, 8N1
  192.  - "ser" : default serial port
  193.            This is "ser2" for a Falcon, and "ser1" for any other machine
  194.  - "par" : parallel port
  195.            The printing routine for this implements a timeout for the
  196.            case there's no printer connected (else the kernel would
  197.            lock up). The timeout is not exact, but usually a few
  198.            seconds.
  199.  
  200.  
  201. 2.6) ramdisk=
  202. -------------
  203.  
  204. Syntax: ramdisk=<size>
  205.  
  206.   This option instructs the kernel to set up a ramdisk of the given
  207. size in KBytes. Do not use this option if the ramdisk contents are
  208. passed by bootstrap! In this case, the size is selected automatically
  209. and should not be overwritten.
  210.  
  211.   The only application is for root filesystems on floppy disks, that
  212. should be loaded into memory. To do that, select the corresponding
  213. size of the disk as ramdisk size, and set the root device to the disk
  214. drive (with "root=").
  215.  
  216.  
  217. 2.7) swap=
  218. -----------
  219.  
  220. Syntax: swap=<max_age>,<adv>,<decl>,<init_age>,<cl_fract>,<cl_min>,\
  221.         <pgout_wgt>,<bfout_wgt>
  222. (All optional)
  223.  
  224. TODO
  225.  
  226.  
  227. 2.8) buff=
  228. -----------
  229.  
  230. Syntax: buff=<max_age>,<adv>,<decl>,<init_age>,<bfout_wgt>,<mem_grace>
  231. (All optional)
  232.  
  233. TODO
  234.  
  235.  
  236.  
  237. 3) General Device Options (Amiga and Atari)
  238. ===========================================
  239.  
  240. 3.1) ether=
  241. -----------
  242.  
  243. Syntax: ether=[<irq>[,<base_addr>[,<mem_start>[,<mem_end>]]]],<dev-name>
  244.  
  245.   <dev-name> is the name of a net driver, as specified in
  246. drivers/net/Space.c in the Linux source. Most prominent are eth0, ...
  247. eth3, sl0, ... sl3, ppp0, ..., ppp3, dummy, and lo.
  248.  
  249.   The non-ethernet drivers (sl, ppp, dummy, lo) obviously ignore the
  250. settings by this options. Also, the existing ethernet drivers for
  251. Linux/68k (ariadne, a2065, hydra) don't use them because Zorro boards
  252. are really Plug-'n-Play, so the "ether=" option is useless altogether
  253. for Linux/68k.
  254.  
  255.  
  256. 3.2) hd=
  257. --------
  258.  
  259. Syntax: hd=<cylinders>,<heads>,<sectors>
  260.  
  261.   This option sets the disk geometry of an IDE disk. The first hd=
  262. option is first the first IDE disk, the second for the second one.
  263. (I.e., you can give this option twice.) In most cases, you won't have
  264. to use this option, since the kernel can obtain the geometry data
  265. itself. It exists just for the case that this fails for one of your
  266. disks.
  267.  
  268.  
  269. 3.3) max_scsi_luns=
  270. -------------------
  271.  
  272. Syntax: max_scsi_luns=<n>
  273.  
  274.   Sets the maximum number of LUNs (logical units) of SCSI devices to
  275. be scanned. Valid values for <n> are between 1 and 8. Default is 8 if
  276. "Probe all LUNs on each SCSI device" was selected during the kernel
  277. configuration, else 1.
  278.  
  279.  
  280. 3.4) st=
  281. --------
  282.  
  283. Syntax: st=<buffer_size>,[<write_thres>,[<max_buffers>]]
  284.  
  285.   Sets several parameters of the SCSI tape driver. <buffer_size> is
  286. the number of 512-byte buffers reserved for tape operations for each
  287. device. <write_thres> sets the number of blocks which must be filled
  288. to start an actual write operation to the tape. Maximum value is the
  289. total number of buffers. <max_buffer> limits the total number of
  290. buffers allocated for all tape devices.
  291.  
  292.  
  293. 3.5) dmasound=
  294. --------------
  295.  
  296. Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]]
  297.  
  298.   This option controls some configurations of the m68k DMA sound
  299. driver (Amiga and Atari): <buffers> is the number of buffers you want
  300. to use (minimum 4, default 4), <buffer-size> is the size of each
  301. buffer in kilobytes (minimum 4, default 32) and <catch-radius> says
  302. how much percent of error will be tolerated when setting a frequency
  303. (maximum 10, default 0). For example with 3% you can play 8000Hz
  304. AU-Files on the Falcon with its hardware frequency of 8195Hz and thus
  305. don't need to expand the sound.
  306.  
  307.  
  308.  
  309. 4) Options for Atari Only
  310. =========================
  311.  
  312. 4.1) video=
  313. --------------
  314.  
  315. Syntax: video=<sub-options...>
  316.  
  317. The <sub-options> is a comma-separated list of the sub-options listed
  318. below.
  319.  
  320. NB: Please notice that this option was renamed from `atavideo' to
  321.     `video' during the development of the 1.3.x kernels, thus you
  322.     might need to update your boot-scripts if upgrading to 2.0.x from
  323.     an 1.2.13ply kernel.
  324.  
  325. 4.1.1) Video Mode
  326. -----------------
  327.  
  328. This sub-option may be any of the predefined video modes, as listed
  329. in atari/atafb.c in the Linux/68k source tree. The kernel will
  330. activate the given video mode at boot time and make it the default
  331. mode, if the hardware allows. Currently defined names are:
  332.  
  333.  - stlow           : 320x200x4
  334.  - stmid, default5 : 640x200x2
  335.  - sthigh, default4: 640x400x1
  336.  - ttlow           : 320x480x8, TT only
  337.  - ttmid, default1 : 640x480x4, TT only
  338.  - tthigh, default2: 1280x960x1, TT only
  339.  - vga2            : 640x480x1, Falcon only
  340.  - vga4            : 640x480x2, Falcon only
  341.  - vga16, default3 : 640x480x4, Falcon only
  342.  - vga256          : 640x480x8, Falcon only
  343.  - falh2           : 896x608x1, Falcon only
  344.  - falh16          : 896x608x4, Falcon only
  345.  
  346.   If no video mode is given on the command line, the kernel tries the
  347. modes names "default<n>" in turn, until one is possible with the
  348. hardware in use.
  349.  
  350.   A video mode setting doesn't make sense, if the external driver is
  351. activated by a "external:" sub-option.
  352.  
  353. 4.1.2) inverse
  354. --------------
  355.  
  356. Invert the display. This affects both, text (consoles) and graphics
  357. (X) display. Usually, the background is chosen to be black. With this
  358. option, you can make the background white.
  359.  
  360. 4.1.3) font
  361. -----------
  362.  
  363. Syntax: font:<fontname>
  364.  
  365. Specify the font to use in text modes. Currently you can choose only
  366. between `VGA8x8' and `VGA8x16'. `VGA8x8' is default, if the vertical
  367. size of the display is less than 400 pixel rows. Otherwise, the `VGA8x16'
  368. font is the default.
  369.  
  370. 4.1.4) hwscroll_
  371. ----------------
  372.  
  373. Syntax: hwscroll_<n>
  374.  
  375. The number of additional lines of video memory to reserve for
  376. speeding up the scrolling ("hardware scrolling"). Hardware scrolling
  377. is possible only if the kernel can set the video base address in steps
  378. fine enough. This is true for STE, MegaSTE, TT, and Falcon. It is not
  379. possible with plain STs and graphics cards (The former because the
  380. base address must be on a 256 byte boundary there, the latter because
  381. the kernel doesn't know how to set the base address at all.)
  382.  
  383.   By default, <n> is set to the number of visible text lines on the
  384. display. Thus, the amount of video memory is doubled, compared to no
  385. hardware scrolling. You can turn off the hardware scrolling altogether
  386. by setting <n> to 0.
  387.  
  388. 4.1.5) internal:
  389. ----------------
  390.  
  391. Syntax: internal:<xres>;<yres>[;<xres_max>;<yres_max>;<offset>]
  392.  
  393. This option specifies the capabilities of some extended internal video
  394. hardware, like e.g. OverScan. <xres> and <yres> give the (extended)
  395. dimensions of the screen.
  396.  
  397.   If your OverScan needs a black border, you have to write the last
  398. three arguments of the "internal:". <xres_max> is the maximum line
  399. length the hardware allows, <yres_max> the maximum number of lines.
  400. <offset> is the offset of the visible part of the screen memory to its
  401. physical start, in bytes.
  402.  
  403.   Often, extended interval video hardware has to be activated somehow.
  404. For this, see the "sw_*" options below.
  405.  
  406. 4.1.6) sw_acia, sw_snd6, sw_snd7
  407. --------------------------------
  408.  
  409. This specifies the method for turning on extended internal video
  410. hardware, like OverScan. Several methods are in use:
  411.  
  412.   sw_acia: Set RTS of the keyboard ACIA high
  413.   sw_snd6: Set bit 6 of the PSG port A
  414.   sw_snd7: Set bit 7 of the PSG port A
  415.  
  416. These sub-options are generally only useful together with "internal:".
  417.  
  418. 4.1.7) external:
  419. ----------------
  420.  
  421. Syntax:
  422.   external:<xres>;<yres>;<depth>;<org>;<scrmem>[;<scrlen>[;<vgabase>\
  423.            [;<colw>[;<coltype>]]]]
  424.  
  425. [I had to break this line...]
  426.  
  427.   This is probably the most complicated parameter... It specifies that
  428. you have some external video hardware (a graphics board), and how to
  429. use it under Linux/68k. The kernel cannot know more about the hardware
  430. than you tell it here! The kernel also is unable to set or change any
  431. video modes, since it doesn't know about any board internal. So, you
  432. have to switch to that video mode before you start Linux, and cannot
  433. switch to another mode once Linux has started.
  434.  
  435.   The first 3 parameters of this sub-option should be obvious: <xres>,
  436. <yres> and <depth> give the dimensions of the screen and the number of
  437. planes (depth). The depth is is the logarithm to base 2 of the number
  438. of colors possible. (Or, the other way round: The number of colors is
  439. 2^depth).
  440.  
  441.   You have to tell the kernel furthermore how the video memory is
  442. organized. This is done by a letter as <org> parameter:
  443.  
  444.  'n': "normal planes", i.e. one whole plane after another
  445.  'i': "interleaved planes", i.e. 16 bit of the first plane, than 16 bit
  446.       of the next, and so on... This mode is used only with the
  447.       built-in Atari video modes, I think there is no card that
  448.       supports this mode.
  449.  'p': "packed pixels", i.e. <depth> consecutive bits stand for all
  450.       planes of one pixel; this is the most common mode for 8 planes
  451.       (256 colors) on graphic cards
  452.  't': "true color" (more or less packed pixels, but without a color
  453.       lookup table); usually depth is 24
  454.  
  455. For monochrome modes (i.e., <depth> is 1), the <org> letter has a
  456. different meaning:
  457.  
  458.  'n': normal colors, i.e. 0=white, 1=black
  459.  'i': inverted colors, i.e. 0=black, 1=white
  460.  
  461.   The next important information about the video hardware is the base
  462. address of the video memory. That is given in the <scrmem> parameter,
  463. as a hexadecimal number with a "0x" prefix. You have to find out this
  464. address in the documentation of your hardware.
  465.  
  466.   The next parameter, <scrlen>, tells the kernel about the size of the
  467. video memory. If it's missing, the size is calculated from <xres>,
  468. <yres>, and <depth>. For now, it is not useful to write a value here.
  469. It would be used only for hardware scrolling (which isn't possible
  470. with the external driver, because the kernel cannot set the video base
  471. address), or for virtual resolutions under X (which the X server
  472. doesn't support yet). So, it's currently best to leave this field
  473. empty, either by ending the "external:" after the video address or by
  474. writing two consecutive semicolons, if you want to give a <vgabase>
  475. (it is allowed to leave this parameter empty).
  476.  
  477.   The <vgabase> parameter is optional. If it is not given, the kernel
  478. cannot read or write any color registers of the video hardware, and
  479. thus you have to set appropriate colors before you start Linux. But if
  480. your card is somehow VGA compatible, you can tell the kernel the base
  481. address of the VGA register set, so it can change the color lookup
  482. table. You have to look up this address in your board's documentation.
  483. To avoid misunderstandings: <vgabase> is the _base_ address, i.e. a 4k
  484. aligned address. For read/writing the color registers, the kernel
  485. uses the addresses vgabase+0x3c7...vgabase+0x3c9. The <vgabase>
  486. parameter is written in hexadecimal with a "0x" prefix, just as
  487. <scrmem>.
  488.  
  489.   <colw> is meaningful only if <vgabase> is specified. It tells the
  490. kernel how wide each of the color register is, i.e. the number of bits
  491. per single color (red/green/blue). Default is 6, another quite usual
  492. value is 8.
  493.  
  494.   Also <coltype> is used together with <vgabase>. It tells the kernel
  495. about the color register model of your gfx board. Currently, the types
  496. "vga" (which is also the default) and "mv300" (SANG MV300) are
  497. implemented.
  498.  
  499. 4.1.8) eclock:
  500. --------------
  501.  
  502. The external pixel clock attached to the Falcon VIDEL shifter. This
  503. currently works only with the ScreenWonder!
  504.  
  505. 4.1.9) monitorcap:
  506. -------------------
  507.  
  508. Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
  509.  
  510. This describes the capabilities of a multisync monitor. Don't use it
  511. with a fixed-frequency monitor! For now, only the Falcon frame buffer
  512. uses the settings of "monitorcap:".
  513.  
  514.   <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies
  515. your monitor can work with, in Hz. <hmin> and <hmax> are the same for
  516. the horizontal frequency, in kHz.
  517.  
  518.   The defaults are 58;62;31;32 (VGA compatible).
  519.  
  520.   The defaults for TV/SC1224/SC1435 cover both PAL and NTSC standards.
  521.  
  522. 4.1.10) keep
  523. ------------
  524.  
  525. If this option is given, the framebuffer device doesn't do any video
  526. mode calculations and settings on its own. The only Atari fb device
  527. that does this currently is the Falcon.
  528.  
  529.   What you reach with this: Settings for unknown video extensions
  530. aren't overridden by the driver, so you can still use the mode found
  531. when booting, when the driver doesn't know to set this mode itself.
  532. But this also means, that you can't switch video modes anymore...
  533.  
  534.   An example where you may want to use "keep" is the ScreenBlaster for
  535. the Falcon.
  536.  
  537.  
  538. 4.2) atamouse=
  539. --------------
  540.  
  541. Syntax: atamouse=<x-threshold>,[<y-threshold>]
  542.  
  543.   With this option, you can set the mouse movement reporting threshold.
  544. This is the number of pixels of mouse movement that have to accumulate
  545. before the IKBD sends a new mouse packet to the kernel. Higher values
  546. reduce the mouse interrupt load and thus reduce the chance of keyboard
  547. overruns. Lower values give a slightly faster mouse responses and
  548. slightly better mouse tracking.
  549.  
  550.   You can set the threshold in x and y separately, but usually this is
  551. of little practical use. If there's just one number in the option, it
  552. is used for both dimensions. The default value is 2 for both
  553. thresholds.
  554.  
  555.  
  556. 4.3) ataflop=
  557. -------------
  558.  
  559. Syntax: ataflop=<drive type>[,<trackbuffering>[,<steprateA>[,<steprateB>]]]
  560.  
  561.    The drive type may be 0, 1, or 2, for DD, HD, and ED, resp. This
  562.    setting affects how much buffers are reserved and which formats are
  563.    probed (see also below). The default is 1 (HD). Only one drive type
  564.    can be selected. If you have two disk drives, select the "better"
  565.    type.
  566.  
  567.    The second parameter <trackbuffer> tells the kernel whether to use
  568.    track buffering (1) or not (0). The default is machine dependant:
  569.    no for the Medusa and yes for all others.
  570.  
  571.    With the two following parameters, you can change the default
  572.    steprate used for drive A and B, resp. 
  573.  
  574.  
  575. 4.4) atascsi=
  576. -------------
  577.  
  578. Syntax: atascsi=<can_queue>[,<cmd_per_lun>[,<scat-gat>[,<host-id>[,<tagged>]]]]
  579.  
  580.   This option sets some parameters for the Atari native SCSI driver.
  581. Generally, any number of arguments can be omitted from the end. And
  582. for each of the numbers, a negative value means "use default". The
  583. defaults depend on whether TT-style or Falcon-style SCSI is used.
  584. Below, defaults are noted as n/m, where the first value refers to
  585. TT-SCSI and the latter to Falcon-SCSI. If an illegal value is given
  586. for one parameter, an error message is printed and that one setting is
  587. ignored (other aren't affected).
  588.  
  589.   <can_queue>:
  590.     This is the maximum number of SCSI commands queued internal to the
  591.     Atari SCSI driver. A value of 1 effectively turns off the driver
  592.     internal multitasking (if it makes problems). Legal values are >=
  593.     1. <can_queue> can be as high as you like, but values greater than
  594.     <cmd_per_lun> times the number of SCSI targets (LUNs) you have
  595.     don't make sense. Default: 16/8.
  596.  
  597.   <cmd_per_lun>:
  598.     Maximum number of SCSI commands issued to the driver for one
  599.     logical unit (LUN, usually one SCSI target). Legal values start
  600.     from 1. If tagged queuing (see below) is not used, values greater
  601.     than 2 don't make sense, but waste memory. Otherwise, the maximum
  602.     is the number of command tags available to the driver (currently
  603.     32). Default: 8/1. (Note: Values > 1 seem to cause problems on a
  604.     Falcon, cause not yet known.)
  605.  
  606.       The <cmd_per_lun> value at a great part determines the amount of
  607.     memory SCSI reserves for itself. The formula is rather
  608.     complicated, but I can give you some hints:
  609.       no scatter-gather  : cmd_per_lun * 232 bytes
  610.       full scatter-gather: cmd_per_lun * approx. 17 Kbytes
  611.  
  612.   <scat-gat>:
  613.     Size of the scatter-gather table, i.e. the number of requests
  614.     consecutive on the disk that can be merged into one SCSI command.
  615.     Legal values are between 0 and 255. Default: 255/0. Note: This
  616.     value is forced to 0 on a Falcon, since scatter-gather isn't
  617.     possible with the ST-DMA. Not using scatter-gather hurts
  618.     perfomance significantly.
  619.  
  620.   <host-id>:
  621.     The SCSI ID to be used by the initiator (your Atari). This is
  622.     usually 7, the highest possible ID. Every ID on the SCSI bus must
  623.     be unique. Default: determined at run time: If the NV-RAM checksum
  624.     is valid, and bit 7 in byte 30 of the NV-RAM is set, the lower 3
  625.     bits of this byte are used as the host ID. (This method is defined
  626.     by Atari and also used by some TOS HD drivers.) If the above
  627.     isn't given, the default ID is 7. (both, TT and Falcon).
  628.  
  629.   <tagged>:
  630.     0 means turn off tagged queuing support, all other values > 0 mean
  631.     use tagged queuing for targets that support it. Default: currently
  632.     off, but this may change when tagged queuing handling has been
  633.     proofed to be reliable.
  634.  
  635.     Tagged queuing means that more than one command can be issued to
  636.     one LUN, and the SCSI device itself orders the requests so they
  637.     can be performed in optimal order. Not all SCSI devices support
  638.     tagged queuing (:-().
  639.  
  640.  
  641.  
  642. 5) Options for Amiga Only:
  643. ==========================
  644.  
  645. 5.1) video=
  646. -----------
  647.  
  648. Syntax: video=<sub-options...>
  649.  
  650. The <sub-options> is a comma-separated list of the sub-options listed
  651. below. This option is organized similar to the Atari version of the
  652. "video"-option (4.1), but knows fewer sub-options.
  653.  
  654. 5.1.1) video mode
  655. -----------------
  656.  
  657. Again, similar to the video mode for the Atari (see 4.1.1). Predefined
  658. modes depend on the used frame buffer device.
  659.  
  660. OCS, ECS and AGA machines all use the color frame buffer. The following
  661. predefined video modes are available:
  662.  
  663. NTSC modes:
  664.  - ntsc            : 640x200, 15 kHz, 60 Hz
  665.  - ntsc-lace       : 640x400, 15 kHz, 60 Hz interlaced
  666. PAL modes:
  667.  - pal             : 640x256, 15 kHz, 50 Hz
  668.  - pal-lace        : 640x512, 15 kHz, 50 Hz interlaced
  669. ECS modes:
  670.  - multiscan       : 640x480, 29 kHz, 57 Hz
  671.  - multiscan-lace  : 640x960, 29 kHz, 57 Hz interlaced
  672.  - euro36          : 640x200, 15 kHz, 72 Hz
  673.  - euro36-lace     : 640x400, 15 kHz, 72 Hz interlaced
  674.  - euro72          : 640x400, 29 kHz, 68 Hz
  675.  - euro72-lace     : 640x800, 29 kHz, 68 Hz interlaced
  676.  - super72         : 800x300, 23 kHz, 70 Hz
  677.  - super72-lace    : 800x600, 23 kHz, 70 Hz interlaced
  678.  - dblntsc-ff      : 640x400, 27 kHz, 57 Hz
  679.  - dblntsc-lace    : 640x800, 27 kHz, 57 Hz interlaced
  680.  - dblpal-ff       : 640x512, 27 kHz, 47 Hz
  681.  - dblpal-lace     : 640x1024, 27 kHz, 47 Hz interlaced
  682.  - dblntsc         : 640x200, 27 kHz, 57 Hz doublescan
  683.  - dblpal          : 640x256, 27 kHz, 47 Hz doublescan
  684. VGA modes:
  685.  - vga             : 640x480, 31 kHz, 60 Hz
  686.  - vga70           : 640x400, 31 kHz, 70 Hz
  687.  
  688. Please notice that the ECS and VGA modes require either an ECS or AGA
  689. chipset, and that these modes are limited to 2-bit color for the ECS
  690. chipset and 8-bit color for the AGA chipset.
  691.  
  692. 5.1.2) depth
  693. ------------
  694.  
  695. Syntax: depth:<nr. of bit-planes>
  696.  
  697. Specify the number of bit-planes for the selected video-mode.
  698.  
  699. 5.1.3) inverse
  700. --------------
  701.  
  702. Use inverted display. Functionally the same as the "inverse"
  703. sub-option for the Atari.
  704.  
  705. 5.1.4) font
  706. -----------
  707.  
  708. Syntax: font:<fontname>
  709.  
  710. Specify the font to use in text modes. Functionally the same as the
  711. "font" sub-option for the Atari.
  712.  
  713. 5.1.5) monitorcap:
  714. -------------------
  715.  
  716. Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
  717.  
  718. This describes the capabilities of a multisync monitor. For now, only
  719. the color frame buffer uses the settings of "monitorcap:".
  720.  
  721.   <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies
  722. your monitor can work with, in Hz. <hmin> and <hmax> are the same for
  723. the horizontal frequency, in kHz.
  724.  
  725.   The defaults are 50;90;15;38 (Generic Amiga monitor).
  726.  
  727.  
  728. 5.2) fd_def_df0=
  729. ----------------
  730.  
  731. Syntax: fd_def_df0=<value>
  732.  
  733. Sets the df0 value for "silent" floppy drives. The value should be in
  734. hexadecimal with "0x" prefix.
  735.  
  736.  
  737. 5.3) wd33c93=
  738. -------------
  739.  
  740. Syntax: wd33c93=<sub-options...>
  741.  
  742. The <sub-options> is a comma-separated list of the sub-options listed
  743. below.
  744.  
  745. 5.3.1) nosync
  746. -------------
  747.  
  748. Syntax: nosync:bitmask
  749.  
  750.   bitmask is a byte where the 1st 7 bits correspond with the 7
  751. possible SCSI devices. Set a bit to prevent sync negotiation on that
  752. device. To maintain backwards compatibility, a command-line such as
  753. "wd33c93=255" will be automatically translated to
  754. "wd33c93=nosync:0xff". The default is to disable sync negotiation for
  755. all devices, eg. nosync:0xff.
  756.  
  757. 5.3.2) period
  758. -------------
  759.  
  760. Syntax: period:ns
  761.  
  762.   `ns' is the minimum # of nanoseconds in a SCSI data transfer
  763. period. Default is 500; acceptable values are 250 - 1000.
  764.  
  765. 5.3.3) disconnect
  766. -----------------
  767.  
  768. Syntax: disconnect:x
  769.  
  770.   Specify x = 0 to never allow disconnects, 2 to always allow them.
  771. x = 1 does 'adaptive' disconnects, which is the default and generally
  772. the best choice.
  773.  
  774. 5.3.4) debug
  775. ------------
  776.  
  777. Syntax: debug:x
  778.  
  779.   If `DEBUGGING_ON' is defined, x is a bit mask that causes various
  780. types of debug output to printed - see the DB_xxx defines in
  781. wd33c93.h.
  782.  
  783. 5.3.5) clock
  784. ------------
  785.  
  786. Syntax: clock:x
  787.  
  788.   x = clock input in MHz for WD33c93 chip. Normal values would be from
  789. 8 through 20. The default value depends on your hostadapter(s),
  790. default for the A3000 internal controller is 14, for the A2091 its 8
  791. and for the GVP hostadapters its either 8 or 14, depending on the
  792. hostadapter and the SCSI-clock jumper present on some GVP
  793. hostadapters.
  794.  
  795. 5.3.6) next
  796. -----------
  797.  
  798.   No argument. Used to separate blocks of keywords when there's more
  799. than one host adapter in the system.
  800.  
  801.  
  802. 5.4) gvp11=
  803. -----------
  804.  
  805. Syntax: gvp11=<addr-mask>
  806.  
  807.   The address mask set by this option specifies which addresses are
  808. valid for DMA with the GVP Series II SCSI controller. An address is
  809. valid, if no bits are set except the bits that are set in the mask,
  810. too.
  811.  
  812.   Some versions of the GVP can only DMA into a 24 bit address range,
  813. others can use the whole 32 bit address range for DMA. The
  814. (conservative) default is the 24 bit version, by a default mask of
  815. 0x00fffffe. If your GVP can handle 32 bit DMA, you can specify
  816. gvp11=0xfffffffe.
  817.  
  818.  
  819. /* Local Variables: */
  820. /* mode: text       */
  821. /* End:             */
  822.